package com.jctrip.hotel.source.model.CnBooking.req;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author henry
 * @Date 2023/8/1 14:17
 * @Description
 */
@Data
public class OrderSearchReq extends BaseRequest {
    @JacksonXmlElementWrapper(localName = "SearchConditions")
    @JacksonXmlProperty(localName = "SearchConditions")
    private OrderSearchData searchConditions;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class OrderSearchData {
        @JacksonXmlProperty(localName = "OrderId")
        private String orderId;
        @JacksonXmlProperty(localName = "CustomerOrderId")
        private String customerOrderId;
    }
}
